﻿using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace HCD.Entities
{
    [Table("MDT_GROUP")]
    public class MdtGroup : Entity<long>
    {
        /// <summary>
        /// 诊疗组类型
        /// </summary>
        [Column("GROUP_TYPE", TypeName = "VARCHAR(2)")]
        public string GroupType { get; set; }

        /// <summary>
        /// 诊疗组名称
        /// </summary>
        [Column("GROUP_NAME", TypeName = "VARCHAR(30)"), Required]
        public string GroupName { get; set; }

        /// <summary>
        /// 科室代码
        /// </summary>
        [Column("DEPT_CODE", TypeName = "VARCHAR(20)")]
        public string DeptCode { get; set; }

        /// <summary>
        /// 科室名称
        /// </summary>
        [Column("DEPT_NAME", TypeName = "VARCHAR(40)")]
        public string DeptName { get; set; }

        /// <summary>
        /// 管理就诊类型（门诊/住院/预入院）
        /// </summary>
        [Column("MANAGE_TYPE", TypeName = "VARCHAR(10)")]
        public string ManageType { get; set; }

        /// <summary>
        /// 群组的ImId
        /// </summary>
        [Column("MDT_IM_ID",TypeName ="VARCHAR(20)")]
        public string MdtImId{get;set;}
    }
}
